Deavmi's coding shack
Commit f84ffd2818a2e06bc7d9f7ead47845de742e25bb
Parents : 73d9f2e
Author : Tristan Brice Velloza Kildaire <deavmi@redxen.eu>
Date : 2026-04-08T16:48:24+02:00
Added initial skeleton for overlay
Changes
Diff
diff --git a/overlay/overlay.go b/overlay/overlay.go
new file mode 100644
index 0000000..dc72588
--- /dev/null
+++ b/overlay/overlay.go
@@ -0,0 +1,14 @@
+package overlay
+
+import "new.git.deavmi.assigned.network/deavmi/go-niknaks.git/interfaces"
+
+// an overlay is a (TODO)
+type OverlayImpl[Key comparable, Value any] struct {
+ _m interfaces.MapInterface[Key, Value]
+}
+
+func New[Key comparable, Value any](mappable interfaces.MapInterface[Key, Value]) *OverlayImpl[Key, Value] {
+ return &OverlayImpl[Key, Value]{_m: mappable}
+}
+
+// TODO: Add methods
Served by rngit 1.5.0 - Generated in 0.05s